Package com.cisco.pt.ipc.events
Class CommandLogEventRegistry
java.lang.Object
com.cisco.pt.ipc.events.IPCEventRegistry
com.cisco.pt.ipc.events.CommandLogEventRegistry
An event for the IPC's CommandLogEventRegistry values
- Author:
- packettracerexapps@external.cisco.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<CommandLogEventListener>protected Map<String,Set<CommandLogEventListener>> Fields inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
session, WILDCARD_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(CommandLogEventListener listener) voidaddListener(CommandLogEventListener listener, CommandLog objClass) voidaddListenerFiltered(CommandLogEventListener listener, List<String> events) voidaddSpecificListenerFiltered(CommandLogEventListener listener, CommandLog objClass, List<String> events) voidprocessEvent(IPCEventLTV event) voidremoveListener(CommandLogEventListener listener) voidremoveListener(CommandLogEventListener listener, CommandLog objClass) voidremoveListenerFiltered(CommandLogEventListener listener, List<String> events) voidremoveSpecificListenerFiltered(CommandLogEventListener listener, CommandLog objClass, List<String> events) Methods inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
deregister, deregister, register, register
-
Field Details
-
globalListeners
-
specificObjectListeners
-
-
Constructor Details
-
CommandLogEventRegistry
-
-
Method Details
-
getClassName
- Specified by:
getClassNamein classIPCEventRegistry
-
processEvent
- Specified by:
processEventin classIPCEventRegistry- Throws:
Exception
-
addListenerFiltered
public void addListenerFiltered(CommandLogEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
addSpecificListenerFiltered
public void addSpecificListenerFiltered(CommandLogEventListener listener, CommandLog objClass, List<String> events) throws IOException - Throws:
IOException
-
removeListenerFiltered
public void removeListenerFiltered(CommandLogEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
removeSpecificListenerFiltered
public void removeSpecificListenerFiltered(CommandLogEventListener listener, CommandLog objClass, List<String> events) throws IOException - Throws:
IOException
-
addListener
- Throws:
IOException
-
addListener
- Throws:
IOException
-
removeListener
- Throws:
IOException
-
removeListener
public void removeListener(CommandLogEventListener listener, CommandLog objClass) throws IOException - Throws:
IOException
-